import Layout from '@/layout'

const shoupiaoRouter = {
  path: '/shoupiao',
  component: Layout,
  redirect: 'noRedirect',
  name: 'Shoupiao',
  meta: {
    title: '售票子系统',
    icon: 'international',
    roles: ['售票']
  },
  children: [
    {
      path: 'shoupiao',
      component: () => import('@/views/shoupiao/shoupiao/shoupiao'),
      name: 'Shoupiao',
      meta: { title: '售票', noCache: true }
    },
    {
      path: 'feipiao',
      component: () => import('@/views/shoupiao/feipiao/feipiao'),
      name: 'Feipiao',
      meta: { title: '废票', noCache: true }
    },
    {
      path: 'bupiao',
      component: () => import('@/views/shoupiao/bupiao/bupiao'),
      name: 'Bupiao',
      meta: { title: '补票', noCache: true }
    },
    {
      path: 'yushoupiao',
      component: () => import('@/views/shoupiao/yushoupiao/yushoupiao'),
      name: 'Yushoupiao',
      meta: { title: '预售票', noCache: true }
    }
  ]
}

export default shoupiaoRouter
